package cn.kgc.ffzw.day18.homework2;


public class Test {
    public static void main(String[] args) {
        Handset handset=new CommonHandset();
        handset.setBrand("苹果");
        handset.setType("iPhone7");
        handset.info();
        handset.call();
        handset.sendInfo();
        ((CommonHandset) handset).playaudio("杀手");
        System.out.println("*************************************************************");
        Handset handset1=new AtitudeHandset();
        handset1.setBrand("苹果");
        handset1.setType("iPhone11");
        handset1.info();
        handset1.sendInfo();
        handset1.call();
        ((AtitudeHandset) handset1).playaudio("荷塘月色");
        ((AtitudeHandset) handset1).network();
        ((AtitudeHandset) handset1).takepic();
    }
}
